package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SpecParamDTO;
import com.leyou.item.entity.SpecParams;

import java.util.List;

public interface SpecParamService extends IService<SpecParams> {
    //根据条件查询规格参数集合
    List<SpecParamDTO> selectParamsByConditions(Long cid,Long gid,Boolean search);

    //新增规格参数
    void insertParam(SpecParamDTO body);

    //修改规格参数
    void updateParam(SpecParamDTO body);
}
